Interface order

All input and output channels of the Declaration Editor are listed in the Interface order section. The list is always in synchronization with the declarations. Thus, when you create a new input or output channel to the Declaration Editor for example, this new channel will be added to the end of the list. You can either sort the list alphabetically , or you can select a channel and place it up or down by using the arrow keys. This order will be the order of the in/out signals of the TPT S-function.

MATLAB/Simulink interface order